<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}父模板{% endblock %}</title>
</head>
<body>
<div>页面导航</div>
{% block body %}
    父模板的内容
{% endblock %}
<div>页面底部</div>
</body>
</html>